
<!DOCTYPE html>
<html lang="en">
<head>

    <title>添加试卷的页面</title>
    <!-- 引入js文件 -->
    <link rel="stylesheet"
          href="${pageContext.request.contextPath}/resources/bootstrap/css/bootstrap.min.css" />
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/resources/jquery/jquery-1.11.0.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/resources/jquery/jquery-migrate-1.2.1.min.js"></script>
    <!-- 导入bootStrap的库 -->
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/resources/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/resources/easyUI/jquery.easyui.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/resources/easyUI/easyui-lang-zh_CN.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/easyUI/easyui.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/resources/blockUI/jquery.blockUI.js"></script>



    <script>

        $(function () {
            //弹框提示信息
            if("${tip}"){
                $.messager.show({
                    title:'添加试卷',
                    msg:"<span style='color:red;'>${tip}</span>",
                    showType:'slide'
                });
            }
        })
    </script>
</head>
<body>
<center>
<#--${tip}-->
<#--${username}${msg}-->
    <form id="updateUserForm" action="/testPaper/addTestPaper" method="post" enctype="multipart/form-data"><#--注意上传文件一定要enctype为“multipart/form-data”-->
        <table class="table-condensed">
            <tbody>
            <tr>
                <td><label>ID:</label></td>
                <td><input id="id" name="id"  type="text" class="form-control" placeholder="请输入试卷的id"></td>
                <td><label>名称:</label></td>
                <td><input id="name" name="name" type="text" class="form-control" placeholder="请输入试卷的名称"></td>
            </tr>
            <tr>
                <td><label>备注:</label></td>
                <td colspan="4"><input id="remark" name="remark"  type="text" class="form-control" placeholder="请输入备注信息"></td>
            </tr>

            </tbody>
        </table>
    <#--<div align="center" style="margin-top: 20px;">-->
    <#--<a id="btn_submit" class="btn btn-info"><span-->
    <#--class="glyphicon glyphicon-edit"></span>&nbsp;修改</a>-->

        <input type="submit" class="btn btn-info" value="添加">
    <#--<input type="submit" value="确认"/>-->

        <button type="reset" class="btn btn-danger">
            <span class="glyphicon glyphicon-remove"></span>&nbsp;重置
        </button>
        </div>
    </form>

</center>
</body>
</html>